ALTER TABLE tablename AUTO_INCREMENT = 1
ALTER TABLE document MODIFY COLUMN document_id INT auto_increment
ALTER TABLE users AUTO_INCREMENT=1001;
ALTER TABLE tbl_access ADD COLUMN `access_id` int(10) NOT NULL PRIMARY KEY AUTO_INCREMENT FIRST